#include "BoundingBox.h"

const HashedString BoundingBox::type("BoundingBox");


BoundingBox::BoundingBox()
{
}

BoundingBox::BoundingBox( float* extents )
{
	memcpy(m_extents, extents, sizeof(float) * 3);
}

const HashedString& BoundingBox::Type() const
{
	return type;
}

float* BoundingBox::getExtents()
{
	return m_extents;
}

void BoundingBox::setExtents( float width, float length, float height )
{
	m_extents[0] = width;
	m_extents[1] = height;
	m_extents[2] = length;
}